package com.luxoft.scoremanager.server.service;

import com.luxoft.scoremanager.server.model.bean.ComponentBean;
import com.luxoft.scoremanager.server.model.bean.ScorePackageBean;
import com.luxoft.scoremanager.server.model.bean.StaticDataBean;

import java.util.List;


public interface PackageManagerService {
    public void addComponentToScorePackageByPackageId(Integer id, ComponentBean componentBean);

    public void deleteComponentFromScorePackageByPackageId(Integer id, ComponentBean componentBean);

    public void updateComponentListInScorePackageByPackageId(Integer id, List<ComponentBean> componentBeanList);

    public void updateComponentInScorePackageByPackageId(Integer id, ComponentBean componentBean);

    public void updateScorePackage(ScorePackageBean scorePackageBean);

    public ScorePackageBean getScorePackageById(Integer id);

    public List<ComponentBean> getAllComponentByIdOfScorePackage(Integer id);

    public List<ComponentBean> getAllComponentByScorePackage(ScorePackageBean scorePackageBean);

    public List<StaticDataBean> getAllStaticData();
}
